package com.webshop.JavaBean;

/**
 * CREATE TABLE `catagory`  (
 `CID` int(20) NOT NULL,
 `Cname` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
 `pid` int(20) NOT NULL,
 PRIMARY KEY (`pid`) USING BTREE
 ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
 */
public class Category {
    int CID;

    public int getCID() {
        return CID;
    }

    public void setCID(int CID) {
        this.CID = CID;
    }

    public String getCname() {
        return Cname;
    }

    public void setCname(String cname) {
        Cname = cname;
    }

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    String Cname;
    int pid;

    @Override
    public String toString() {
        return "Category{" +
                "CID=" + CID +
                ", Cname='" + Cname + '\'' +
                ", pid=" + pid +
                '}';
    }
}
